package com.sihuatech.coreagent.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 省份编码以及平台信息
 * 
 * @author 86186
 *
 */
@TableName(value = "proaddinf")
public class ProAddInf {
	@TableId(value = "id", type = IdType.AUTO)
	private int id;
	
	@TableField(value = "province_code")
	private String provinceCode;
	
	@TableField(value = "platform_code")
	private String platformCode;
	
	@TableField(value = "interface_type")
	private String interfaceType;

	@TableField(value = "interface_url")
	private String interfaceUrl;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getPlatformCode() {
		return platformCode;
	}

	public void setPlatformCode(String platformCode) {
		this.platformCode = platformCode;
	}

	public String getInterfaceType() {
		return interfaceType;
	}

	public void setInterfaceType(String interfaceType) {
		this.interfaceType = interfaceType;
	}

	public String getInterfaceUrl() {
		return interfaceUrl;
	}

	public void setInterfaceUrl(String interfaceUrl) {
		this.interfaceUrl = interfaceUrl;
	}

	public ProAddInf(int id, String provinceCode, String platformCode, String interfaceType, String interfaceUrl) {
		super();
		this.id = id;
		this.provinceCode = provinceCode;
		this.platformCode = platformCode;
		this.interfaceType = interfaceType;
		this.interfaceUrl = interfaceUrl;
	}

	
	
	public ProAddInf(String provinceCode, String platformCode, String interfaceType, String interfaceUrl) {
		super();
		this.provinceCode = provinceCode;
		this.platformCode = platformCode;
		this.interfaceType = interfaceType;
		this.interfaceUrl = interfaceUrl;
	}

	public ProAddInf() {
		super();
	}

	@Override
	public String toString() {
		return "ProAddInf [id=" + id + ", provinceCode=" + provinceCode + ", platformCode=" + platformCode
				+ ", interfaceType=" + interfaceType + ", interfaceUrl=" + interfaceUrl + "]";
	}


}
